package com.oreilly.ez.service;


import com.google.common.eventbus.AllowConcurrentEvents;
import com.google.common.eventbus.Subscribe;
import com.oreilly.ez.base.SysEventListener;
import com.oreilly.ez.vo.Log;
import org.springframework.stereotype.Component;

@Component
public class LogEventListener implements SysEventListener<Log> {

    @Subscribe
//    @AllowConcurrentEvents
    public void onEvent(Log event){
        System.out.println(" log receive msg:" + event);
    }
}
